package jukebox.model.qnaboard;

import jukebox.model.common.BoardVO;
import jukebox.model.member.MemberVO;

public class QnABoardVO extends BoardVO {
	private int comment;
	private boolean isAdopted;
	
	public QnABoardVO() {
		super();
	}
	public QnABoardVO(int no, String title, String content, String date,
			int hit, String kind, MemberVO memberVO, int comment, boolean isAdopted) {
		super(no, title, content, date, hit, kind, memberVO);
		this.comment = comment;
		this.isAdopted = isAdopted;
	}
	public int getComment() {
		return comment;
	}
	public void setComment(int comment) {
		this.comment = comment;
	}
	public boolean isAdopted() {
		return isAdopted;
	}
	public void setAdopted(boolean isAdopted) {
		this.isAdopted = isAdopted;
	}
	@Override
	public String toString() {
		return "QnaBoardVO [comment=" + comment + ", isAdopted=" + isAdopted
				+ ", getNo()=" + getNo() + ", getTitle()=" + getTitle()
				+ ", getContent()=" + getContent() + ", getDate()=" + getDate()
				+ ", getHit()=" + getHit() + ", getKind()=" + getKind()
				+ ", getMemberVO()=" + getMemberVO() + "]";
	}
	
	
}
